import { http } from "@/utils/http";
import { baseUrlApi } from './utils'

// 测试接口
// export const postTest = (data) => {
//   return http.request('post', baseUrlApi('/drug/list'), { data });
// };

// 测试接口 params传参
export const getTest = (params) => {
  return http.request("get", baseUrlApi('/menu/role-menusandchecked'), { params });
};

// 测试接口 url拼接传参
// export const getTest = (params) => {
//   return http.request("get", baseUrlApi('/menu/role-menusandchecked') + params);
// };


// 测试接口
// export const postTest = (data) => {
//   return http.post(baseUrlApi('/drug/list'), { data });
// };
